<template>
  <div class="flex">
    <a-popover trigger="click" position="bottom">
      <a-button> {{ t["批量绑定LCD"] }} </a-button>
      <template #content>
        <div class="w-[300px]">
          <BulkOperation url="/media/device/xlsx">
            <h3>{{ t["上传文件，批量绑定LCD"] }}</h3>
          </BulkOperation>
        </div>
      </template>
    </a-popover>
  </div>
  <a-modal v-model:visible="resultModel">
    <UploadResult v-bind="batchAddTagResult" />
  </a-modal>
</template>

<script setup lang="ts">
const t = translate("公共模块");
const batchAddTagResult = ref();
const resultModel = ref();
</script>

<style lang="scss" scoped></style>
